package xin.lhuo.we.server.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

/**
 * @author Lhuo
 * @date 2019/5/11 17:08
 */
@Data
@ToString
@JsonInclude(value = JsonInclude.Include.NON_EMPTY)
public class Photo {
    private Integer id;
    private Integer userId;
    private Integer albumId;
    private String name;
    private String path;
    private String url;
    private String thumbnailUrl;
    private Long size;
    private Integer width;
    private Integer height;
    private String mimeType;
    private String etag;
    private Date lastModifiedDate;
    private String description;
    private Date createTime;
    private Date updateTime;
}
